package daylight.装饰;

public class LiuDeHuaWrapper implements Star{
    private LiuDeHua liuDeHua;

    public LiuDeHuaWrapper(LiuDeHua liuDeHua) {
        this.liuDeHua = liuDeHua;
    }

    @Override
    public void sing() {
        System.out.print("深情地");
        liuDeHua.sing();
    }

    @Override
    public void dance() {
        System.out.println("卖力地");
        liuDeHua.dance();
    }
}
